import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios";
import elementplus from 'element-plus'
import 'element-plus/dist/index.css';
import './style.css'
const app=createApp(App)
app.use(store).use(router).use(elementplus).mount('#app')

axios.defaults.baseURL="http://localhost:12138"
axios.defaults.timeout=10000

axios.interceptors.request.use(function (config) {
    console.log('请求参数：', config);
    return config;
}, error => {
    return Promise.reject(error);
});

